package com.mjh.zhujianju.model.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.livew.framework.base.model.BaseModel;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class UserExtendEO extends BaseModel {
	private Long userId;

    // 性别
    private String sex;
    
    private String sexName;

    // 职位
    private String position;

    // 学历
    private String education;
    
    private String educationName;

    // 入党时间
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date joinPartyDate;

    // 是否是党员
    private String isParty;
    
    private String partyName;

    // 状态
    private String status;
    
   

    private static final long serialVersionUID = 1L;

    /**
     * @return user_id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取性别
     *
     * @return sex - 性别
     */
    public String getSex() {
        return sex;
    }

    /**
     * 设置性别
     *
     * @param sex 性别
     */
    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    /**
     * 获取职位
     *
     * @return position - 职位
     */
    public String getPosition() {
        return position;
    }

    /**
     * 设置职位
     *
     * @param position 职位
     */
    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    /**
     * 获取学历
     *
     * @return education - 学历
     */
    public String getEducation() {
        return education;
    }

    /**
     * 设置学历
     *
     * @param education 学历
     */
    public void setEducation(String education) {
        this.education = education == null ? null : education.trim();
    }

    /**
     * 获取入党时间
     *
     * @return join_party_date - 入党时间
     */
    public Date getJoinPartyDate() {
        return joinPartyDate;
    }

    /**
     * 设置入党时间
     *
     * @param joinPartyDate 入党时间
     */
    public void setJoinPartyDate(Date joinPartyDate) {
        this.joinPartyDate = joinPartyDate;
    }

    /**
     * 获取是否是党员
     *
     * @return is_party - 是否是党员
     */
    public String getIsParty() {
        return isParty;
    }

    /**
     * 设置是否是党员
     *
     * @param isParty 是否是党员
     */
    public void setIsParty(String isParty) {
        this.isParty = isParty == null ? null : isParty.trim();
    }

    /**
     * 获取状态
     *
     * @return status - 状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置状态
     *
     * @param status 状态
     */
    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

	public String getSexName() {
		return sexName;
	}

	public void setSexName(String sexName) {
		this.sexName = sexName;
	}

	public String getEducationName() {
		return educationName;
	}

	public void setEducationName(String educationName) {
		this.educationName = educationName;
	}

	public String getPartyName() {
		return partyName;
	}

	public void setPartyName(String partyName) {
		this.partyName = partyName;
	} 
    
    
}